var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var Programmer = /** @class */ (function () {
    function Programmer(name, goodAt) {
        this.name = name;
        this.goodAt = goodAt;
    }
    Programmer.prototype.info = function () {
        return "\u59D3\u540D\uFF1A".concat(this.name, "\uFF0C\u64C5\u957F\uFF1A").concat(this.goodAt);
    };
    return Programmer;
}());
var Staff = /** @class */ (function (_super) {
    __extends(Staff, _super);
    function Staff(name, goodAt, staffId) {
        var _this = _super.call(this, name, goodAt) || this;
        _this.staffId = staffId;
        return _this;
    }
    Staff.prototype.getEmployeeId = function () {
        return this.staffId;
    };
    return Staff;
}(Programmer));
var staff1 = new Staff("ShirDon", "Programming", 888);
var res = staff1.info();
console.log(res);
console.log(staff1.getEmployeeId());
//888
